<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="/js/material/main.css">

</head>
<body>
<div class="container">
    <input type="hidden" id="domain" value="<%= domain %>">
    <input type="hidden" id="uptoken_url" value="<%= uptoken_url %>">
    <div class="row">
        <div  class="col-xs-12" style="padding: 10px 0 10px 15px">
            <a href="#" onclick="history.go(-1);"><button type="button" class="btn btn-default"><< 返回</button></a>
            &nbsp;&nbsp;

        </div>
    </div>


    <form action="/material/add" method="post" enctype="multipart/form-data" class="form-horizontal" role="form" style="padding-top: 15px;">
        <div class="form-group">
            <div class="col-sm-offset-1 col-sm-10">
                <div class="body">
                    <div class="col-md-12">
                        <div id="container">
                            <a class="btn btn-default btn-block" id="pickfiles" href="#" >
                                <i class="glyphicon glyphicon-plus"></i>
                                <span>选择文件</span>
                            </a>
                        </div>
                    </div>

                    <div style="display:none" id="success" class="col-md-12">
                        <div class="alert-success">
                            队列全部文件处理完毕
                        </div>
                    </div>
                    <div class="col-md-12 ">
                        <table class="table table-striped table-hover text-left"   style="margin-top:40px;display:none">
                            <thead>
                            <tr>
                                <th class="col-md-4">文件名</th>
                                <th class="col-md-2">大小</th>
                                <th class="col-md-6">查看</th>
                            </tr>
                            </thead>
                            <tbody id="fsUploadProgress">
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <!--<div class="form-group">
            <label for="name" class="col-sm-1 control-label">素材主题</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="name" name="name"
                       placeholder="请输入">
            </div>
        </div>

        <div class="form-group">
            <label for="lastname" class="col-sm-1 control-label">描述</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="description" name="description"
                       placeholder="请输入">
            </div>
        </div>-->

        <div class="form-group">
            <div class="col-sm-offset-1 col-sm-10">
                <button type="submit" class="btn btn-default btn-block">确认提交</button>
            </div>
        </div>
        <input type="hidden" name="imgs" id="hidden_url">
    </form>
</div><!---->


<script type="text/javascript" src="/lib/material/plupload/plupload.full.min.js"></script>
<script type="text/javascript" src="/lib/material/plupload/i18n/zh_CN.js"></script>
<script type="text/javascript" src="/lib/material/ui.js"></script>
<script type="text/javascript" src="/lib/material/qiniu.js"></script>
<script type="text/javascript" src="/lib/material/main.js"></script>
</body>
</html>